package mspbots.hubspot.data.core.contacts;

import com.fasterxml.jackson.databind.JsonNode;
import lombok.Builder;
import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.relational.core.mapping.Table;

import java.time.LocalDateTime;
import java.util.UUID;

/**
 * mspbots.data.Company
 *
 * @author <a href="https://github.com/vnobo">Alex bob</a>
 * @date Created by 2020/8/4
 */
@Data
@Builder
@Table("hubspot_contacts")
public class Contact {

    @Id
    private Long id;
    /**
     * Request data id
     */
    private UUID requestId;
    private Long tenantId;
    private Long otherId;
    private String email;
    private LocalDateTime syncTime;
    private LocalDateTime updatedTime;
    private LocalDateTime createdTime;
    private JsonNode entity;

}
